﻿@{
    Layout = null;
}
@using MvcMall.Framework.MvcPager;
@using MvcMall.AdminPortal.Controllers.GoodsCategory.ViewModels;
@model PagedList<GoodsCategoryDtoModel>
<!DOCTYPE html>
<html>
<head>
    <title>商品分类列表</title>
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $.ajaxSetup({ cache: false });
            $("#tabs").tabs({
                ajaxOptions: {
                    error: function (xhr, status, index, anchor) {
                        $(anchor.hash).html("系统繁忙,请稍候再试");
                    }
                }
            });
        });
    </script>
</head>
<body>
    <div id="tabs">
        <ul>
            <li>@Html.ActionLink("商品分类列表", "GoodscategoryList")</li>
            <li><a href="#create">新增商品分类</a></li>
        </ul>
        <div id="create">
            @Html.Partial("SaveGoodsCatUserControl", new SaveGoodsCategoryModel())
        </div>
    </div>
</body>
</html>
